package com.designpattern.structure.adapter.newadapter;

/**
 * @author Administration
 * @date 2021/10/15 - 16:06 - 星期五
 * @project 结构性模式中的适配器模式  适配器对象  适配者
 * @package com.designpattern.structure.adapter.classadapter
 * @by 晨
 */
public class TFCardImpl implements TFCard {
    @Override
    public String readTF() {
        String msg ="tf card read msg : hello word tf card";
        return msg;
    }

    @Override
    public void writeTF(String msg) {
        System.out.println("tf card write a msg : " + msg);
    }
}
